<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class HomeApp extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
        //$this->load->model("wizard_model", "w_model");
    }

    public function index()
    {
        $data['page'] = array('root' => '', 'active' => 'home');
        $this->load->view('home_header', $data['page']);
        #Listar los wizards
        $this->load->model("wizard_model", "w_model");
        $data['wizards'] = $this->w_model->listAll();
        $this->load->view('home_view', $data);
        $this->load->view('home_footer', $data['page']);
    }
}